package com.glp.work.flow.pojo;

import lombok.Data;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 工作流日志
 */
@Data
@Table(name="wf_log")
public class WFLog implements Serializable {
  private static final long serialVersionUID = 2320569399319802086L;
  
  private Long id;
  /** 任务实例ID */
  @Column(name="task_inst_id_")
  private String taskInstId;
  /** 流程定义key,例如:myProcess1,图中的process Id */
  @Column(name="proc_def_key_")
  private String procDefKey;
  /** 流程任务节点定义key */
  @Column(name="task_def_key_")
  private String taskDefKey;
  /** 流程实例id */
  @Column(name="proc_inst_id_")
  private String procInstId;
  /** 审批状态:1通过,2驳回,3拒绝 */
  private Integer approveStatus;
  /** 驳回字段列表 */
  private String rejectFieldList;
  /** 审批意见 */
  private String opinion;
  /** 内部批注 */
  private String postil;
  private Long createTime ;
  private String createUserId ;
  
  private Integer signStatus=1 ; //是否手动修改 1否，2是
  
  @Transient
  private String taskName;
  /** 关联查询的wf_taskdef.order */
  @Transient
  private Integer order;
  

}
